package com.kunge2013.chatbi.etlpipeline.impl;

import com.kunge2013.chatbi.etlpipeline.EtlDocumentService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.ai.document.Document;
import org.springframework.ai.document.DocumentReader;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author kunge2013
 * @Description elt 抽取工具
 * @Date 2024/11/10 13:04
 * @Version 1.0
 */
@Service
@Slf4j(topic = "EtlDocument")
public class EtlDocumentServiceImpl implements EtlDocumentService {
    @Override
    public List<Document> read(DocumentReader documentReader) {
        return documentReader.read();
    }
}
